import { createRouter, createWebHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    name: 'ArticleList',
    component: () => import('../views/ArticleList.vue')
  },
  {
    path: '/edit',
    name: 'ArticleEdit',
    component: () => import('../views/ArticleEdit.vue')
  },
  {
    path: '/pronunciation',
    name: 'PronunciationEdit',
    component: () => import('../views/PronunciationEdit.vue')
  },
  {
    path: '/image-edit',
    name: 'ImageEdit',
    component: () => import('../views/ImageEdit.vue')
  },
  {
    path: '/design',
    name: 'FontDesign',
    component: () => import('../views/FontDesign.vue')
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router